/// Assigns a color rule and rules to adjust color to the
/// accent color upon hover/focus
///
/// @param {any} $initial - A color key for the initial text color
/// @param {any} $focus - A color key for the focus/hover text color
@mixin am-link($initial:text, $focus:accent) {
  @include am-color($initial);

  &:hover,
  &:focus {
    @include am-color($focus);
  }
}

/// Strips away text decoration, applying an underline on hover/focus
@mixin am-link-no-decoration {
  text-decoration: none;

  &:hover,
  &:focus {
    text-decoration: none;
  }
}
